import request from '@/utils/request'
// 15100000001
// 登录
export function login(username, password) {
    const query = {
        login_account: username,
        login_pass: password,
    }
    return request({
        url: '/joining/busin.Staff/login',
        method: 'post',
        params: query
    })
}
// 退出
export function logout(token) {
    const query = {
        token: token,
        reqtype: "pc_shop"
    }
    return request({
        url: '/agency/api.Login/signOut',
        method: 'post',
        params: query
    })
}

// 退出
export function logOut(token) {
    const query = {
        token: token,
        reqtype: "pc_shop"
    }
    return request({
        url: '/joining/busin.Staff/logout',
        method: 'post',
        params: query
    })
}